package com.xuecheng.content.service;

import com.xuecheng.content.model.po.CourseTeacher;

import java.util.List;

public interface CourseTeacherService {

    /**
     * 查询当前课程有多少位老师
     * @param courseId 课程id
     * @return
     */
    public List<CourseTeacher> getCourseTeacherList(Long courseId);

    /**
     * 新增或修改教师信息
     * @param courseTeacher 教师信息
     * @return
     */
    public void saveCourseTeacher(CourseTeacher courseTeacher);

    /**
     * 根据课程id和教师id删除教师信息
     * @param courseId 课程id
     * @param teacherId 教师id
     */
    public void deleteCourseTeacher(Long courseId, Long teacherId);
}
